package com.cf.game.message;

import com.cf.game.service.constants.EnumReturnCode;
import com.cf.serialize.Response;

/**
 * game-server-BeanResponse
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/5/8 上午 11:05
 */
public class PunishResponse extends Response {

    public static Integer type = EnumMessageType.PunishResponse.getType();

    private Integer punishLevel = 0;

    public PunishResponse(Integer punishLevel) {
        super("", EnumReturnCode.SUCCESS.getCode());
        this.punishLevel = punishLevel;
    }

    public Integer getPunishLevel() {
        return punishLevel;
    }

    public void setPunishLevel(Integer punishLevel) {
        this.punishLevel = punishLevel;
    }

    @Override
    public Integer messageType() {
        return type;
    }


    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        PunishResponse.type = type;
    }
}
